home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98c.txt
/
000135_icon-group-sender _Wed Dec 16 17:44:18 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id RAA24499
for icon-group-addresses; Wed, 16 Dec 1998 17:44:13 -0700 (MST)
Message-Id: <199812170044.RAA24499@baskerville.CS.Arizona.EDU>
Date: Wed, 16 Dec 1998 15:05:06 -0600
From: Clinton Jeffery <jeffery@segfault.cs.utsa.edu>
To: thrnsoft@globalsite.net
CC: icon-group@optima.CS.Arizona.EDU
Subject: Re: Windows ICON
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
[Robert Thornbury wrote:]
I have a question about ICON for Windows, version 9.3: When you write to
standard output you get the console window. How is this control (size,
scrolling, etc.) and is it possible to control this within the program
you're writing.
The "console" windows in the present implementation are pretty sad. They
are, however, regular Icon "window" values in the sense that you should be
able to manipulate their attributes the same as other windows open for
graphics. This allows control of some features trivially, such as size,
position, font used, etc. What everyone wants, though, is a scrollbar for
this window, and that takes a little more work.
The easiest way to do it is to overload the write()/writes() functions with
library functions that store output to a list along with writing it to the
console, and then install native Windows scrollbars and process their events
to redraw the display from the list contents. I guess I should write this
up as an example and add it to the documentation; you might try it and
see for yourself, in the meantime.
Clint Jeffery, jeffery@cs.utsa.edu
Division of Computer Science, The University of Texas at San Antonio
Research http://www.cs.utsa.edu/research/plss.html
Will Hack For Food!